import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
//1. 注册路由环境
import router from "router/router"
//2. 注册请求环境
import "mock/mock"
//3. 注册仓库环境
import store from "store/store"
//4. 注册总线环境
Vue.prototype.$bus = new Vue()
//5. 注册进度条的样式
import "nprogress/nprogress.css"
//6. 注册全局组件
import "@/util/component.js"


new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
